//
//  CardModel.swift
//  NewCard
//
//  Created by yihui on 2017/11/18.
//  Copyright © 2017年 yihui. All rights reserved.
//

import UIKit

class CardModel: BaseModel {

    var id : Int = 0
    var bankName : String!
    var bankCard : Int = 0
    var total : Double = 0
    var temporaryAmount : Double = 0
    var usableAmount : Double = 0
    var billDate : Int = 0
    var returnDate : Int = 0
    
    override func setValue(_ value: Any?, forKey key: String) {
        super.setValue(value, forKey: key)
    }
    
    override var description: String {
        let property = ["id","bankName","bankCard","total","temporaryAmount","usableAmount","billDate","returnDate"]
        let dict = dictionaryWithValues(forKeys: property)
        return "\(dict)"
    }
}
